package com.bjpowernode.dataservice.mapper;

import com.bjpowernode.api.model.ProductInfo;

import java.math.BigDecimal;

public interface ProductInfoMapper {

    /*利率平均值*/
    BigDecimal selectAvgRate();


    int deleteByPrimaryKey(Integer id);

    int insert(ProductInfo record);

    int insertSelective(ProductInfo record);

    ProductInfo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ProductInfo record);

    int updateByPrimaryKey(ProductInfo record);
}